<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
if(sizeof($pages) > 0){
	echo "<ul>";
	foreach($pages as $page){
		echo "<li>";
		echo "<a href='/".$page['page_curl']."/'>".$page['page_title']."</a>";
		echo "</li>";
	}
	echo "</ul>";
}